package com.marvels.approve.manager.dto;

import java.util.Date;
import java.util.List;

import com.marvels.common.constants.PageConstant;
import com.marvels.common.dto.BaseDTO;

public class OpinionTypeDTO   extends BaseDTO{
	private Long id;
	private String opinionTypeCode;//意见类型代码
	private String opinionTypeName;//意见类型名称
	private String opinionTypeApp;//意见类型APP名称
	private Integer opinionClass;//意见分类  0 拒绝  1违例  2复核意见 3审批确认   4退回',
	private Integer opinionLevel;//意见类型级别
	private String opinionSupCode;//父意见类型
	private String nodeCode;//节点代码
	private String nodeName;//节点名称
	private String patternCode;//
	private String remark;
	
	private List<OpinionTypeDTO> opinionTypes;
	
	private String createdBy;//'创建用户',
	private Date startCreatedDate;//'创建时间',
	private Date endCreatedDate;//'创建时间',
	private String updatedBy;//'更新用户',
	private Date startUpdatedDate;//'更新时间',
	private Date endUpdatedDate;//'更新时间',
	private Date createdDate;//'创建时间',
	private Date updatedDate;//'更新时间'
	private Integer pageNum;
	private Integer pageSize;
	
	public Date getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}
	public Date getUpdatedDate() {
		return updatedDate;
	}
	public void setUpdatedDate(Date updatedDate) {
		this.updatedDate = updatedDate;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getOpinionTypeCode() {
		return opinionTypeCode;
	}
	public void setOpinionTypeCode(String opinionTypeCode) {
		this.opinionTypeCode = opinionTypeCode;
	}
	public String getOpinionTypeName() {
		return opinionTypeName;
	}
	public void setOpinionTypeName(String opinionTypeName) {
		this.opinionTypeName = opinionTypeName;
	}
	public String getOpinionTypeApp() {
		return opinionTypeApp;
	}
	public void setOpinionTypeApp(String opinionTypeApp) {
		this.opinionTypeApp = opinionTypeApp;
	}
	public Integer getOpinionClass() {
		return opinionClass;
	}
	public void setOpinionClass(Integer opinionClass) {
		this.opinionClass = opinionClass;
	}
	public Integer getOpinionLevel() {
		return opinionLevel;
	}
	public void setOpinionLevel(Integer opinionLevel) {
		this.opinionLevel = opinionLevel;
	}
	public String getOpinionSupCode() {
		return opinionSupCode;
	}
	public void setOpinionSupCode(String opinionSupCode) {
		this.opinionSupCode = opinionSupCode;
	}
	public String getNodeCode() {
		return nodeCode;
	}
	public void setNodeCode(String nodeCode) {
		this.nodeCode = nodeCode;
	}
	public String getNodeName() {
		return nodeName;
	}
	public void setNodeName(String nodeName) {
		this.nodeName = nodeName;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}
	public Date getStartCreatedDate() {
		return startCreatedDate;
	}
	public void setStartCreatedDate(Date startCreatedDate) {
		this.startCreatedDate = startCreatedDate;
	}
	public Date getEndCreatedDate() {
		return endCreatedDate;
	}
	public void setEndCreatedDate(Date endCreatedDate) {
		this.endCreatedDate = endCreatedDate;
	}
	public String getUpdatedBy() {
		return updatedBy;
	}
	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}
	public Date getStartUpdatedDate() {
		return startUpdatedDate;
	}
	public void setStartUpdatedDate(Date startUpdatedDate) {
		this.startUpdatedDate = startUpdatedDate;
	}
	public Date getEndUpdatedDate() {
		return endUpdatedDate;
	}
	public void setEndUpdatedDate(Date endUpdatedDate) {
		this.endUpdatedDate = endUpdatedDate;
	}
	public Integer getPageNum() {
		return pageNum==null?PageConstant.CURRPAGE:pageNum;
	}
	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}
	public Integer getPageSize() {
		return pageSize==null?PageConstant.PAGESIZE:pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public List<OpinionTypeDTO> getOpinionTypes() {
		return opinionTypes;
	}
	public void setOpinionTypes(List<OpinionTypeDTO> opinionTypes) {
		this.opinionTypes = opinionTypes;
	}
	public String getPatternCode() {
		return patternCode;
	}
	public void setPatternCode(String patternCode) {
		this.patternCode = patternCode;
	}
	
	
	
	
}
